export default {
  path: "stu",
  name: "Stu",
  component: () =>
    import(/* webpackChunkName: "home" */ "../../views/Home/stu"),
  redirect: "/home/stu/editstu",
  meta: {
    login: true,
    title: "首页",
    auth: ["管理员"],
  },
  children: [
    {
      path: "editstu",
      name: "Editstu",
      component: () =>
        import(
          /* webpackChunkName: "home" */ "../../views/Home/stu/Editstu.vue"
        ),
      meta: {
        login: true,
        title: "首页",
        auth: ["管理员"],
      },
    },
    {
      path: "addstu",
      name: "Addstu",
      component: () =>
        import(
          /* webpackChunkName: "home" */ "../../views/Home/stu/Addstu.vue"
        ),
      meta: {
        login: true,
        title: "首页",
        auth: ["管理员"],
      },
    },
  ],
};
